import type { RouteRecordRaw } from 'vue-router'

/**
 * 图片生成图像相关路由
 */
const img2imgRoutes: RouteRecordRaw[] = [
  {
    path: '/img2img',
    name: 'img2img',
    component: () => import('../views/Img2Img/Img2ImgGenerator.vue'),
    meta: {
      title: '图像风格转换',
      requiresAuth: false
    }
  },
  {
    path: '/img2img/history',
    name: 'img2img-history',
    component: () => import('../views/Img2Img/Img2ImgHistory.vue'),
    meta: {
      title: '历史记录',
      requiresAuth: false
    },
    props: {
      generating: false
    }
  }
]

export default img2imgRoutes 